#ifndef REG_H_
#define REG_H_

#include "fts3_tokenizer.h"

#include "sqlite3.h"

#ifdef __cplusplus
extern "C" {
#endif

int tok_register(
  sqlite3 *db,
  const char *zName,
  const sqlite3_tokenizer_module *p
);

int tok_registered(
  sqlite3 *db,
  const char *zName,
  const sqlite3_tokenizer_module **pp
);

#ifdef __cplusplus
}
#endif

#endif
